
     <!-- Control Sidebar -->
     <aside class="control-sidebar control-sidebar-dark">
       <!-- Create the tabs -->
       <!--
       <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
         <li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-at"></i></a></li>
         <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
       </ul>
       -->
       <!-- Tab panes -->
       <div class="tab-content">
      	<!-- Home tab content -->
         <div class="tab-pane" id="control-sidebar-home-tab">
         </div><!-- /.tab-pane -->
         <!-- Stats tab content -->
         <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div><!-- /.tab-pane -->
         <!-- Settings tab content -->
         <div class="tab-pane" id="control-sidebar-settings-tab">
         </div>
       </div>
     </aside>
   <div class="control-sidebar-bg"></div>
</div>

<script src="__PUBLIC__/js/jquery-ui.min.js" type="text/javascript"></script>
<!--<script src='__PUBLIC__/plugins/jQuery/disable_mini.js'></script>-->
<script src="__PUBLIC__/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/fastclick/fastclick.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/dist/js/app.js" type="text/javascript"></script>
<script src="__PUBLIC__/dist/js/jquery.fullscreen.js" type="text/javascript"></script>
<script src="__PUBLIC__/dist/nprogress/nprogress.js" type="text/javascript"></script>
<script src="__PUBLIC__/dist/js/contabs.js?v=12" type="text/javascript"></script>
<script src="__PUBLIC__/dist/js/demo.js" type="text/javascript"></script>
 
<script type="text/javascript">
$(document).ready(function(){
	// $("#riframe").height($(window).height());//浏览器当前窗口可视区域高度
	// $("#rightContent").height($(window).height());
	// $('.main-sidebar').height($(window).height());
	
	// $(window).resize(function() {
	// 	$("#riframe").height($(window).height());//浏览器当前窗口可视区域高度
	// 	$("#rightContent").height($(window).height());
	// 	$('.main-sidebar').height($(window).height());
	// 	//console.log($(window).height());
	// });
	
	$('.navbar #dianji').click(function(){
		var myurl=$(this).attr('rel');
		var mytitle=$(this).attr('rev');
		mytitle==undefined ? mytitle=$(this).text() : mytitle;
		var flag = true;
// 选项卡菜单已存在
        $('.J_menuTab').each(function () {
            if ($(this).data('id') == myurl) {
                if (!$(this).hasClass('active')) {
                    $(this).addClass('active').siblings('.J_menuTab').removeClass('active');
                    scrollToTab(this);
                    // 显示tab对应的内容区
                    $('.J_mainContent .J_iframe').each(function () {
                        if ($(this).data('id') == myurl) {
                            $(this).show().siblings('.J_iframe').hide();
                            return false;
                        }
                    });
                }
                flag = false;
                return false;
            }
        });
		if (flag) {
		 var str = '<a href="javascript:;" class="active J_menuTab" data-id="' + myurl + '">' + mytitle + ' <i class="fa fa-times-circle"></i></a>';
		            $('.J_menuTab').removeClass('active');
		            // 添加选项卡对应的iframe
		            var str1 = '<iframe class="J_iframe" name="iframe120" width="100%" height="100%" src="' + myurl + '" frameborder="0" data-id="' + myurl + '" seamless></iframe>';
		            $('.J_mainContent').find('iframe.J_iframe').hide().parents('.J_mainContent').append(str1);
		            // 添加遮罩层
		            NProgress.inc(0.2);
		            NProgress.configure({ easing: 'ease', speed: 500, showSpinner: false });
					NProgress.start();
					$('.J_mainContent iframe:visible').load(function () {
						NProgress.done();
		            });
		            // 添加选项卡
		            $('.J_menuTabs .page-tabs-content').append(str);
					}
	});
});

var tmpmenu = 'index_Index';
function makecss(obj){
	$('li[data-id="'+tmpmenu+'"]').removeClass('active');
	$(obj).addClass('active');
	tmpmenu = $(obj).attr('data-id');
}

function callUrl(url){
	layer.closeAll('iframe');
	rightContent.location.href = url;
}
</script>
<!-- 新订单提醒-s -->
<script type="text/javascript">
function closes(){
       is_close = 1;
	document.getElementById('ordfoo').style.display = 'none';
}
	
$(document).ready(function(){
	// 没有点击收货确定的按钮让他自己收货确定    
	var timestamp = Date.parse(new Date());
	$.ajax({
         type:'post',
         url:"{:U('Seller/Admin/login_task')}",
         data:{timestamp:timestamp},
         timeout : 10000, //超时时间设置，单位毫秒
         success:function(){
             // 执行定时任务
         }
    }); 
});
</script>
<!-- 新订单提醒-e -->
</body>
</html>